#define _CRT_SECURE_NO_WARNINGS 1
#include "list.h"
#include <iostream>
#include <list>

using namespace std;


void test_list4()
{
	ghs::list<int> lt = { 1,2,3,4 };
	ghs::list<int>::reverse_iterator rit = lt.rbegin();
	while (rit != lt.rend())
	{
		cout << *rit << " ";
		++rit;
	}
	cout << endl;
}
  
int main()
{
	//ghs::test_list3();
	test_list4();

	return 0;
}

